package qf.pojo;

/**
 * @author 86198
 * @version V1.0
 * @Project Java_qf
 * @Package qf.pojo
 * @Description:
 * @Date 2022/5/27 12:45
 */
public class User {
    private int uid; //用户id
    private String username; //用户名
    private String password; //用户密码
    private int state; //用户状态

    public User() {
    }

    public User(int uid, String username, String password, int state) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.state = state;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", state=" + state +
                '}';
    }
}
